package com.tanjun.gateway.gatewayservice.request;

import com.tanjun.common.enums.LoginTerminalEnum;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
public class AdminUserLoginRequest {
    /**
     * 登录唯一标识(支持手机号、用户名、邮箱)
     */
    @NotNull(message = "登录标识不能为空")
    private String username;

    @NotNull(message = "密码不能为空")
    private String password;

    @NotNull(message = "登录载体不能为空")
    private LoginTerminalEnum loginTerminal;

    @NotNull(message = "图形验证码不能为空")
    private String captchaCode;

    @NotNull(message = "图形验证码id不能为空")
    private String captchaKey;

}
